package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_OPERATE
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CoreOperate extends TableBaseBO implements Serializable {


    /**
     * 权限编码
     */
    private String operateCode;

    /**
     * 权限名称
     */
    private String operateName;

    /**
     * 菜单编码
     */
    private String operateMemuCode;

    /**
     * 权限说明
     */
    private String operateDesc;

    /**
     * 权限类型（0 菜单；1 功能）
     */
    private String operateType;

    /**
     * 权限状态
     */
    private String operateStatus;



    private static final long serialVersionUID = 1L;

    public String getOperateCode() {
        return operateCode;
    }

    public void setOperateCode(String operateCode) {
        this.operateCode = operateCode == null ? null : operateCode.trim();
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName == null ? null : operateName.trim();
    }

    public String getOperateMemuCode() {
        return operateMemuCode;
    }

    public void setOperateMemuCode(String operateMemuCode) {
        this.operateMemuCode = operateMemuCode == null ? null : operateMemuCode.trim();
    }

    public String getOperateDesc() {
        return operateDesc;
    }

    public void setOperateDesc(String operateDesc) {
        this.operateDesc = operateDesc == null ? null : operateDesc.trim();
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType == null ? null : operateType.trim();
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus == null ? null : operateStatus.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", operateCode=").append(operateCode);
        sb.append(", operateName=").append(operateName);
        sb.append(", operateMemuCode=").append(operateMemuCode);
        sb.append(", operateDesc=").append(operateDesc);
        sb.append(", operateType=").append(operateType);
        sb.append(", operateStatus=").append(operateStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}